0034969a5a26a26ab62199af72b8940a4d0a027e,clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/Volumes.java,Volumes,fireDeleteEvent,#Volume#,448

Before Change


  static void fireDeleteEvent( final Volume v ) {
    try {
      ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsVolume, false, v.getSize( ),
                                                                   v.getOwnerUserId( ), v.getOwnerUserName( ),
                                                                   v.getOwnerAccountNumber( ), v.getOwnerAccountName( ),
                                                                   v.getScName( ), v.getPartition( ) ) );
    } catch ( final EventFailedException ex ) {
      LOG.error( ex );

After Change


  
  static void fireDeleteEvent( final Volume v ) {
    try {
      final String userId = v.getOwnerUserId();
      final String accountId = v.getOwnerAccountNumber();
      final String userName = Accounts.lookupUserById(userId).getName();
      final String accountName = Accounts.lookupAccountById(accountId).getName();

      ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsVolume, false, v.getSize( ),
                                                                   userId, userName, accountId, accountName,